package Threadprojects.pro1_matrix.test;

import Threadprojects.pro1_matrix.MatrixGenerate;
import Threadprojects.pro1_matrix.individual.IndividualMulitply;
import Threadprojects.pro1_matrix.row.RowMulitply;

public class test3_row {
    public static void main(String[] args) {
        long start = System.currentTimeMillis();

        double[][] m1 = MatrixGenerate.generate(2000, 2000);
        double[][] m2 = MatrixGenerate.generate(2000, 2000);
        double[][] rs=new double[m1.length][m2[0].length];
        RowMulitply.multiply(m1,m2,rs);
        long end = System.currentTimeMillis();
        System.out.println(end-start);//11507ms
    }
}
